Skip to content

Conversation

@xv2
Copy link

@xv2 xv2 commented Aug 2, 2024

Hi,
I'm using RegExp for Vite proxy, official documentation: https://vitejs.dev/config/server-options.html#server-proxy
This code implements support for this feature (you can see original code in Vite package: https://github.com/vitejs/vite/blob/2c64267a82f1dfe703268fd5d8b1826e9bb457d5/packages/vite/src/node/server/middlewares/proxy.ts#L175-L180 )

@xv2 xv2 changed the title fix: rewrite rules for RegExpr proxy urls fix: rewrite rules for RegExp proxy urls Aug 2, 2024
@xv2
Copy link
Author

xv2 commented Sep 8, 2024

@jinmao88

@WuzzyLV
Copy link

WuzzyLV commented Oct 21, 2024

Need this! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants